package service;

import exception.ActNoNotExistException;
import exception.MoneyNotEnoughException;
import exception.TransferException;
import pojo.Account;

import java.math.BigDecimal;
import java.util.List;

public interface AccountCRUDService {
    int insertAccount(Account account);
    int insertAccountReturnId(Account account);
    Account selectAccountByActNo(String actno);
    List<Account> selectAccount();
    void deleteAccount(int id);
    void updateAccount(Account account);
}
